Check if Number is Integer in R (3 Examples) | Test for Whole Numbers | round & all.equal Functions